package com.qqtop10.manager.dao;

import java.util.List;
import java.util.Map;
import com.qqtop10.manager.model.Order;
import com.qqtop10.manager.model.OrderKey;
import com.qqtop10.manager.model.Statistical;
import com.qqtop10.manager.utils.PageInterface;

public interface OrderMapper extends PageInterface {
	int deleteByPrimaryKey(OrderKey key);

	int insert(Order record);

	int insertSelective(Order record);

	Order selectByPrimaryKey(OrderKey key);

	int updateByPrimaryKeySelective(Order record);

	int updateByPrimaryKey(Order record);

	Order selectById(Integer id);

	Order selectByUuid(String uuid);

	List<Order> selectByUuids(List<String> uuid);

	int sendOutGoods(List<String> uuid);

	int cancelOrder(List<String> uuid);

	int confirmOrder(List<String> uuid);

	int add(Order input);

	int updateByUuidSelective(Order record);

	int updateByUuid(Order record);

	List<Order> selectByPayid(String payid);

	List<Statistical> statistical(Map<String, Object> map);

	int paySeller(Order record);
	
	List<Order> selectAllUnReceiveOrder();
}